import java.util.Scanner;

public class Java001 {
    public static void main(String [] args){
        int m,n,i,month;
        m=0;n=0;
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入经过了多少个月");
        month = sc.nextInt();

        for(i=0;i<month;i++){
            if(i<=1){
                m=1;
                n=1;
            }
            if(i>1){
                n=m+n;
                m=n-m;
            }
        }
        System.out.println("have "+n);
    }
}
